unit About;

interface

uses
{$IFDEF MSWINDOWS}
  Windows, WinProcs,
{$EndIF}
  Classes,
  {$IFDEF MSWINDOWS}
  Forms, Graphics, Controls,
  {$ELSE}
  QForms, QGraphics, QControls,
  {$ENDIF}
  StdCtrls, Buttons, ExtCtrls, XPMan;

type
  TAboutBox = class(TForm)
    Panel1: TPanel;
    OKButton: TBitBtn;
    ProductName: TLabel;
    Version: TLabel;
    Copyright: TLabel;
    Label1: TLabel;
    ProgramIcon: TImage;
    Label2: TLabel;
    Label3: TLabel;
    Update: TLabel;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  AboutBox: TAboutBox;

implementation

 uses Konst, Registry;

{$R *.DFM}

procedure TAboutBox.FormCreate(Sender: TObject);
begin
  Version.Caption := 'Version ' + Konst.Version;
  If Konst.Update then Update.Caption := 'Update-Version: ' + UpdateVersion
   else Update.Caption := '';
end;

end.

